package com.gitee.ywj1352.gasc.temp;

import java.util.List;

public class JavaDoc {
    private String javaBeanName = "";

    private List<MethodDoc> methodList;

    public String getJavaBeanName() {
        return javaBeanName;
    }

    public void setJavaBeanName(String javaBeanName) {
        this.javaBeanName = javaBeanName;
    }

    public List<MethodDoc> getMethodList() {
        return methodList;
    }

    public void setMethodList(List<MethodDoc> methodList) {
        this.methodList = methodList;
    }

    public static class MethodDoc{
        private String description = "";
        private String method = "";
        private String returnType = "";

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getMethod() {
            return method;
        }

        public void setMethod(String method) {
            this.method = method;
        }

        public String getReturnType() {
            return returnType;
        }

        public void setReturnType(String returnType) {
            this.returnType = returnType;
        }
    }

    public static void main(String[] args) {
        String m = "name=\"ywj\"";
        String s = m.replaceAll("[=].*", "");
        System.out.println(s);
    }
}
